package com.zcxk.dto;

import lombok.Getter;

@Getter
public class DeviceDTO {

  /**
   * 年龄
   */
  private Integer age;
  /**
   * 床号
   */
  private String bedId;
  /**
   * 创建时间，时间戳（毫秒）
   */
  private Long createTime;
  /**
   * 设备编号
   */
  private String deviceId;
  /**
   * 1男2女
   */
  private Integer gender;
  /**
   * 病人住院号（唯一id）
   */
  private String patientId;
  /**
   * 病人姓名
   */
  private String patientName;

  public DeviceDTO setAge(Integer age) {
    this.age = age;
    return this;
  }

  public DeviceDTO setBedId(String bedId) {
    this.bedId = bedId;
    return this;
  }

  public DeviceDTO setCreateTime(Long createTime) {
    this.createTime = createTime;
    return this;
  }

  public DeviceDTO setDeviceId(String deviceId) {
    this.deviceId = deviceId;
    return this;
  }

  public DeviceDTO setGender(Integer gender) {
    this.gender = gender;
    return this;
  }

  public DeviceDTO setPatientId(String patientId) {
    this.patientId = patientId;
    return this;
  }

  public DeviceDTO setPatientName(String patientName) {
    this.patientName = patientName;
    return this;
  }
}
